package com.zxw.article.feign;

import com.zxw.common.api.ApiResult;
import com.zxw.common.constant.ApiConst;
import com.zxw.common.entity.baidu.BaiduHotVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * <p>
 * 第三方服务接口调用
 * </p>
 *
 * @author zengweixiong
 * @since 2021-12-11
 */
@FeignClient(value = "zxw-third-server", path = ApiConst.API_PREFIX + "/third")
public interface ThirdServerFeignApi {

    /**
     * 百度热点列表
     */
    @GetMapping("/baidu/news/hot/list")
    ApiResult<List<BaiduHotVO>> newsHotList();


}
